//
//  CollectionViewCell.m
//  7.13苏宁框架
//
//  Created by mini on 15/7/17.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import "CollectionViewCell.h"
#import "GoodSDetailModel.h"
#import "Common.h"
@implementation CollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setModel:(GoodSDetailModel *)model
{
    _model = model;
    [self.picture setImageWithURL:[NSURL URLWithString:_model.icon]];
    self.name.text = _model.name;
    self.price.text = [NSString stringWithFormat:@"¥%@",_model.price];
}
@end
